<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>系统用户组管理</title>
<link type="text/css" rel="stylesheet" href="main.css"/>
<script src="jquery.js" language="javascript" type="text/javascript"></script>
<script src="base.js" language="javascript" type="text/javascript"></script>
</head>
<body>
<div class="mtitle">
  <div class="lbox">系统用户组管理 </div>
</div>
<table class="tform">
  <tbody>
    <tr>
      <td></td>
      <td align="right"><b>
          	<a href="sys_group_add.php"><u>增加一个用户组</u></a>
          	|
            <a href="sys_admin_user.php"><u>管理系统用户</u></a>
          	</b></td>
    </tr>
  </tbody>
</table>


<table _dlist="line check" class="tlist">
  <form name="form1" action="content_att.php" method="post">
    <input type="hidden" name="dopost" value="save">
  <tbody>
    <tr bgcolor="#FDFEE9" align="center" > 
      <td width="20%" height="24">Rank</td>
      <td width="45%">组名称</td>
      <td width="35%">管理</td>
    </tr>
    <?php
	$dsql->SetQuery("Select rank,typename,system From #@__admintype");
	$dsql->Execute();
	while($row = $dsql->GetObject())
	{
	?>
   <tr align="center" bgcolor="#FFFFFF"> 
      <td height="24"> 
        <?php echo $row->rank?>
      </td>
      <td height="24">
      	<?php echo $row->typename?>
      </td>
      <td>
        <a href='sys_group_edit.php?rank=<?php echo $row->rank?>'>[权限设定]</a>
      	<a href='sys_admin_user.php?rank=<?php echo $row->rank?>'>[组用户]</a>
      <?php if($row->system==0){ ?><a href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank; ?>'>[删除组]</a><?php } ?>
      </td>
    </tr>
    <?php
	}
	?>
    <tr> 
      <td height="24" colspan="3" bgcolor="#F8FCF1">&nbsp;</td>
    </tr>
    </tbody>
  </form>
</table>
</body>
</html>
